package com.laolei.core.rest.config;

public class Host {
	private Scheme scheme=Scheme.http;
	private String host="127.0.0.1";
	private short port=80;

	public Scheme getScheme() {
		return scheme;
	}

	public void setScheme(Scheme scheme) {
		this.scheme = scheme;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public short getPort() {
		return port;
	}

	public void setPort(short port) {
		this.port = port;
	}

	@Override
	public String toString() {
		return scheme+"://"+host + ":" + port;
	}
}